package com.xiguanlezz.cn.client.naming.remote.grpc.redo.data;

/**
 * @Author：习惯了种种
 * @CreateDate：2024/11/26 21:28
 * @Description：服务订阅重试对象
 */
public class SubscriberRedoData extends RedoData<String> {
    protected SubscriberRedoData(String serviceName, String groupName) {
        super(serviceName, groupName);
    }

    public static SubscriberRedoData build(String serviceName, String groupName, String clusters) {
        SubscriberRedoData subscriberRedoData = new SubscriberRedoData(serviceName, groupName);
        subscriberRedoData.setData(clusters);
        return subscriberRedoData;
    }
}
